package old;

/**
 * @author krystal
 * @date 2023/3/5 17:40
 */
public class Car {
    private Framework framework;

    public Car(int size){
        framework=new Framework(size);
    }

    public void init(){
        System.out.println("执行了car init方法");
        //依赖车身
        framework.init();
    }
}
